namespace test{
  using System;
  using System.Text;

public class test{
    public static int Main(string[] args){
          string message = "TEST";
          string sendString = String.Format(
                "\x1B%-12345X@PJL RDYMSG DISPLAY = \"{0}\"\r\n\x1B%-12345X\r\n", 
                message
           );
        Console.WriteLine(sendString);
        return 0;
    }
}

}
